package bma.common.langutil.xdom.core;

import bma.common.langutil.xdom.Xdom;
import bma.common.langutil.xdom.XdomType;

public class XdomNumber extends Xdom {

	private Number value;

	public XdomNumber() {
		super();
	}

	public XdomNumber(Number value) {
		super();
		this.value = value;
	}

	@Override
	public XdomType type() {
		return XdomType.NUMBER;
	}
	
	@Override
	public Number getNumberValue() {
		return value;
	}

}
